package com.vue.power.backend.sys.entity;

import com.vue.power.backend.common.base.entity.QueryBase;
import com.vue.power.backend.config.uuid.UUIdGenId;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Table(name = "t_user")
public class User extends QueryBase implements Serializable {

    private static final long serialVersionUID = -5809782578272943999L;
    // 用户流水ID
    @Id
    @Column(name = "userId")
    @KeySql(genId = UUIdGenId.class)
    private String userId;
    // 用户名字
    @Column(name = "userName")
    private String userName;
    // 头像地址
    @Column(name = "avatorImgPath")
    private String avatorImgPath;
    // 登陆token
    @Column(name = "token")
    private String token;
    // 登陆账号
    @Column(name = "loginAccount")
    private String loginAccount;
    // 登陆密码
    @Column(name = "password")
    private String password;
    // 登陆时间
    @Column(name = "loginDate")
    private Long loginDate;
    // 用户性别
    @Column(name = "sex")
    private String sex;
    // 用户邮箱
    @Column(name = "email")
    private String email;
    // 省名称
    @Column(name = "provinceName")
    private String provinceName;
    // 省编码
    @Column(name = "provinceCode")
    private String provinceCode;
    // 市名称
    @Column(name = "cityName")
    private String cityName;
    // 市编码
    @Column(name = "cityCode")
    private String cityCode;
    // 区名称
    @Column(name = "areaName")
    private String areaName;
    // 区编码
    @Column(name = "areaCode")
    private String areaCode;
    // 街道地址
    @Column(name = "streetAddress")
    private String streetAddress;
    // 具体地址
    @Column(name = "fullAddress")
    private String fullAddress;
    // 创建时间
    @Column(name = "crtDate")
    private Long crtDate;
    // 创建人标识
    @Column(name = "crtUserId")
    private String crtUserId;
    // 创建人
    @Column(name = "crtUser")
    private String crtUser;
    // 组织架构唯一标识
    @Column(name = "orgId")
    private String orgId;
    // 组织架构名字
    @Column(name = "orgName")
    private String orgName;

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getStreetAddress() {
        return streetAddress;
    }

    public void setStreetAddress(String streetAddress) {
        this.streetAddress = streetAddress;
    }

    public String getFullAddress() {
        return fullAddress;
    }

    public void setFullAddress(String fullAddress) {
        this.fullAddress = fullAddress;
    }

    public Long getCrtDate() {
        return crtDate;
    }

    public void setCrtDate(Long crtDate) {
        this.crtDate = crtDate;
    }

    public String getCrtUserId() {
        return crtUserId;
    }

    public void setCrtUserId(String crtUserId) {
        this.crtUserId = crtUserId;
    }

    public String getCrtUser() {
        return crtUser;
    }

    public void setCrtUser(String crtUser) {
        this.crtUser = crtUser;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getAvatorImgPath() {
        return avatorImgPath;
    }

    public void setAvatorImgPath(String avatorImgPath) {
        this.avatorImgPath = avatorImgPath;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getLoginAccount() {
        return loginAccount;
    }

    public void setLoginAccount(String loginAccount) {
        this.loginAccount = loginAccount;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Long getLoginDate() {
        return loginDate;
    }

    public void setLoginDate(Long loginDate) {
        this.loginDate = loginDate;
    }
}
